package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;

import java.util.List;

public interface CategoryService {
    IPage<DtsCategory> findByPage(Integer page, Integer limit, Integer id, String name, String sort, String order);

    List<DtsCategory> findcategory();


    DtsCategory insertCategory(DtsCategory category);

    DtsCategory updateCatgory(DtsCategory category);

    DtsCategory deleteCategory(DtsCategory category);

    List<DtsCategory> findcategoryList();
}
